package com.skynet.supervision.aop.uac;

import com.skynet.supervision.aop.dict.Dict;
import com.skynet.supervision.constants.DictDef;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;


@Data
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
public class UserBriefInfo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private String id;

    /**
     * 用户姓名
     */
    @ApiModelProperty(value = "用户姓名")
    private String name;


    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    @Dict(DictDef.DICT_USER_SEX)
    private String sex;

    /**
     * 头像
     */
    @ApiModelProperty(value = "头像")
    private String avatar;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * 职务
     */
    @ApiModelProperty(value = "职务")
    private String titles;
}
